package vistop.io.lisp;

import java.io.IOException;
import java.io.InputStream;

import vistop.datatypes.Data;
import vistop.io.PolygonFactory;

public class LispPolygonFactory extends PolygonFactory {
		
	Data data;
	
	public LispPolygonFactory() throws IOException{
		data = new Data();
	}
		
	@Override
	public Data createData(InputStream data) throws IOException {
		LispParser lp = new LispParser(data);
		this.data = lp.parseFile(data);
		return this.data;
	}
	
	
}
